package it.uniroma1.di.machinelearning;

import weka.classifiers.Classifier;
import weka.classifiers.trees.J48;
import weka.core.Instances;

public class DecisionTreeRunnable extends ClassifierRunnable {

	@Override
	public Classifier createAndBuildClassifier(Instances instances)
			throws Exception {
		J48 j48 = new J48();
		j48.setDebug(true);
		j48.buildClassifier(instances);
		return j48;
	}

}
